package com.quanyou.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;

/**
 * Created by yuanjie on 2016/10/6.
 * 抽象的API Controller 提取通用方法
 */
public abstract class ApiController {

    protected Logger logger = LoggerFactory.getLogger(getClass());

    @Autowired
    protected ReloadableResourceBundleMessageSource resourceBundle;

    public Integer getUserIdByToken(String token) {
        return null;
    }

}
